#ifndef _EXAMPLE_H
#define _EXAMPLE_H

#include <GL/gl.h>
#include <vector>
#include "robot.h"
#include "floor.h"
#include "pyramid.h"

class BOGLGPWindow;
class KeyboardInterface;

using std::vector;

class Example
{
public:
    Example(BOGLGPWindow* window);

    bool init();
    void prepare(float dt);
    void render();
    void shutdown();

    void onResize(int width, int height);
	BOGLGPWindow* getWindow() { return m_window; }
	void setWindow(BOGLGPWindow* window) { m_window = window; }
private:
	int counter;
	GLfloat posx, posy, posz;
	GLfloat rotation;

    Robot m_robot;
	Robot m_robot2;
	Robot m_robot3;

	KeyboardInterface* keyboard;

	Floor m_floor;
    Pyramid m_pyramid4;
	Pyramid m_pyramid5;

	GLfloat m_rotationAngle;

	BOGLGPWindow* m_window;
};

#endif
